<%@ page language="java" contentType="text/html; charset=utf-8" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="bb" class="weaver.general.BaseBean"/>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<%
    JSONObject jsonData = new JSONObject();
    String id = Util.null2String( request.getParameter( "id" ) );
    rs.executeQuery( "select jbcy,jbcc,ychm,jbchm from formtable_main_10 where id=?", id );
    rs.next();
    jsonData.put( "jbcy", Util.null2String( rs.getString("jbcy")));
    jsonData.put( "jbcc", Util.null2String( rs.getString("jbcc")));
    jsonData.put( "ychm", Util.null2String( rs.getString("ychm")));
    jsonData.put( "jbchm", Util.null2String( rs.getString("jbchm")));
    out.print( jsonData.toJSONString() );
%>
